Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Selectively Displaying Video


VDGetKeyColorRange

Some video digitizer components that support key colors may allow applications to set a range of key color values. The key color range is expressed as a range of RGB color values. The VDGetKeyColorRange function allows applications to obtain the currently defined key color range.

pascal VideoDigitizerError VDGetKeyColorRange
                            (VideoDigitizerComponent ci,
                              RGBColor *minRGB, 
                              RGBColor *maxRGB);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
minRGB
Contains a pointer to a field that is to receive the lower bound of the key color range. The video digitizer component places the RGB color that corresponds to the lower end of the range in the field referred to by this parameter.
maxRGB
Contains a pointer to a field that is to receive the upper bound of the key color range. The video digitizer component places the RGB color that corresponds to the upper end of the range in the field referred to by this parameter.
RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported
badCallOrder-2209Digitizer component not ready for this function
SEE ALSO
Your application can set the color range by calling the VDSetKeyColorRange function, which is described on page 8-83.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help